import QtQuick 2.12
import QtQuick.Window 2.12

Window {
    visible: true
    width: 640
    height: 480
    title: qsTr("Hello World")

    ClickableImage {
        id: rocket1
        x:20 ; y:100
        source: "hep.png"
        smooth: true //开启抗锯齿
        onClicked: {
            //位移
            x += 5
            //旋转，5度
            rotation +=5
            //缩放
            scale -= 0.05
        }

    }
}
